package com.shenghui.enterprise.base.service;
import com.shenghui.enterprise.base.entity.BaseUser;
import com.shenghui.enterprise.vo.Result;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shenghui.enterprise.base.entity.PageModel;

import java.util.List;
import java.util.Map;

/**
 * @Description: 用户基本信息表业务逻辑接口
 * @Author houjh
 * @Email: happyxiaohou@gmail.com
 * @Date: 2020-05-29
 * @Copyright (c) 2020-2022 云南昇晖科技有限公司
 */

public interface IBaseUserService extends IService<BaseUser> {
    Result addBaseUser(BaseUser baseUser, String id);

    Result getBaseUserById(String userId);

    Result deleteBaseUser(String ids);

    PageModel getBaseUserList(Map map);

    List<Map<String, Object>> getBaseUserAllList();

    BaseUser getBaseUserSingleById(String id);

    /**
     * 修改密码
     * @param user
     * @return
     */
    Result updataPass(BaseUser user);
}
